package com.xez.skins
{
	import spark.skins.mobile.ButtonSkin;
	
	public class RedBtnSkin extends ButtonSkin
	{
		public function RedBtnSkin()
		{
			super();
			
			upBorderSkin = com.xez.skins.RedButtonUpSkin;
			downBorderSkin = com.xez.skins.RedButtonDownSkin;
		}
		
		override protected function drawBackground(unscaledWidth:Number, unscaledHeight:Number):void
		{
			graphics.beginFill(0xFF0000);
			graphics.drawRoundRect(0, 0, unscaledWidth, unscaledHeight, 10, 10);
			graphics.endFill();
		}
		
	}
}